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
Hi, The following test shows fields for array items are created when update a field in a no-fallback form with array value:
` describe.only('no fallback', () => { it('no new field for array value', () => { const fields = ['prop'] const values = { prop: [1, 2, 3] } const form = new Form({fields, values}, {name: 'Form without fallback', options: {fallback: false}})
expect(form.select('prop.0',undefined, false)).to.be.undefined // <--- fail expect(form.$('prop').value).to.deep.equal([1, 2, 3]) form.update({prop: [4, 5, 6]}) expect(form.select('prop.0', undefined, false)).to.be.undefined expect(form.$('prop').value).to.deep.equal([4, 5, 6]) })
}) `
The text was updated successfully, but these errors were encountered:
fix issues foxhound87#614 and foxhound87#615
5aee4c4
feat: update version 5.4.0
5f357f1
#616 #617 #615 #613 #614 #544 #454 #518 #376 #497 #582 #394
8feab3d
No branches or pull requests
Hi,
The following test shows fields for array items are created when update a field in a no-fallback form with array value:
`
describe.only('no fallback', () => {
it('no new field for array value', () => {
const fields = ['prop']
const values = {
prop: [1, 2, 3]
}
const form = new Form({fields, values}, {name: 'Form without fallback', options: {fallback: false}})
})
`
The text was updated successfully, but these errors were encountered: