File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,12 @@ export default function useRolesSchema() {
3535 "type" : "object" ,
3636 "properties" : {
3737 "resource" : {
38- "type" : "string"
38+ "type" : "string" ,
39+ "description" : "Ressource à accéder (ex: /core/roles)"
3940 } ,
4041 "action" : {
4142 "type" : "array" ,
43+ "description" : "Actions autorisées sur la ressource" ,
4244 "items" : {
4345 "type" : "string" ,
4446 "enum" : AC_ACTIONS
Original file line number Diff line number Diff line change 1919 :hide-hint ="persistentHint()"
2020 :error ="control.errors !== ''"
2121 :error-message ="control.errors"
22- :clearable ="isClearable"
22+ :_clearable ="isClearable"
2323 option-label ="label"
2424 option-value ="key"
2525 emit-value
@@ -66,7 +66,7 @@ import { type ControlElement } from '@jsonforms/core'
6666import { rendererProps , useJsonFormsControl , type RendererProps } from ' @jsonforms/vue'
6767import { QSelect } from ' quasar'
6868import { computed , defineComponent } from ' vue'
69- import { ControlWrapper } from ' ../common'
69+ import { ControlWrapper , FieldAddons } from ' ../common'
7070import { useQuasarControl } from ' ../utils'
7171
7272type AclOption = {
@@ -92,6 +92,7 @@ const controlRenderer = defineComponent({
9292 components: {
9393 ControlWrapper ,
9494 QSelect ,
95+ FieldAddons ,
9596 },
9697 props: {
9798 ... rendererProps <ControlElement >(),
Original file line number Diff line number Diff line change 2828 :hide-bottom-space ="!!control.description"
2929 :maxlength ="maxLength"
3030 :counter ="counter"
31- :clearable ="isClearable"
31+ :_clearable ="isClearable"
3232 :debounce ="100"
3333 outlined
3434 stack-label
You can’t perform that action at this time.
0 commit comments