default value set is not working in angular
Priyadarsini-techriff opened this issue · comments
Describe the bug
I have gender field which is radio button with value Male and Female.i Want to set default value of gender is Female.
gender: {
type: 'string',
enum: ['Male', 'Female'],
default: 'Female',
}this is my schema value.But it didnot working.
Expected behavior
By default I want to set gender value is male.
Steps to reproduce the issue
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Screenshots
No response
Which Version of JSON Forms are you using?
3.2.1
Framework
Angular
RendererSet
Material
Additional context
No response
please see the documentation "How can I use default values within JSON Forms?".
Note that we also have a community forum for questions, see here.