Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add instance.getValue() and instance.setValue(newVal) #88

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Aug 4, 2024

  1. add instance.getValue() and instance.setValue(newVal)

    //-- regular select
    newVal = 'foo';
    
    //-- selected foo and bar option for multiple
    newVal = ['foo','bar']; 
    
    currentVal = getValue()
    //-- currentVal is Array like ['foo','bar'] or ['boo'] for multiple select
    //-- currentVal is string if not multiple
    amlan-sw authored Aug 4, 2024
    Configuration menu
    Copy the full SHA
    b652c22 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Update src/js/nice-select2.js

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
    amlan-sw and sourcery-ai[bot] authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8f1eb28 View commit details
    Browse the repository at this point in the history
  2. Update src/js/nice-select2.js

    Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
    amlan-sw and sourcery-ai[bot] authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    63b38f4 View commit details
    Browse the repository at this point in the history