We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js"></script> <script src="https://formbuilder.online/assets/js/form-builder.min.js"></script>
I have saved the data, but when I edit it it doesn't select the last one I saved?
The text was updated successfully, but these errors were encountered:
Please provide a reproducible script. formBuilder options array and the formData you are passing to setData at a minimum.
Restoring multiple select controls is passing tests.
For example:
const options = { typeUserAttrs: { "*": { testSingleSelectAttribute: { label: 'Single Select', // i18n support by passing and array eg. ['optionCount', {count: 3}] multiple: false, // optional, omitting generates normal <select> options: { 'incorrect green': 'Incorrect', 'correct blue': 'Correct', 'incorrect red': 'Incorrect' }, style: 'border: 1px solid red', value: 'incorrect green', }, testMultipleSelectAttribute: { label: 'Multiple Select', // i18n support by passing and array eg. ['optionCount', {count: 3}] multiple: true, // optional, omitting generates normal <select> options: { 'incorrect green': 'Incorrect', 'correct blue': 'Correct', 'correct red': 'Correct' }, style: 'border: 1px solid red', value: ['incorrect green'], } } }, formData: [], i18n: { location: "https://raw.githubusercontent.com/kevinchappell/formBuilder-languages/master/", }, }
const formData = [ { "type": "text", "required": false, "className": "form-control", "name": "text-1709526699751-0", "testSingleSelectAttribute": 'correct blue', "testMultipleSelectAttribute": ['correct red','correct blue'] } ]
gave me this correct result
Sorry, something went wrong.
No branches or pull requests
Description:
Environment Details:
Crome
Mac/unix
Expected Behavior
Actual Behavior
Steps to Reproduce
Screenshot - (optional)
I have saved the data, but when I edit it it doesn't select the last one I saved?
The text was updated successfully, but these errors were encountered: