Our flexible Kanban board for managing tasks with drag drop


Post by licjapodaca »

Hi there, we wanted to implement this feature "SimpleTaskEdit" but we have some questions:

  • How to specify to the textbox of the field "name" that it's required?

  • How to specify the minimum and max characters?

  • How to apply a mask like alphanumeric values?

  • How to not trigger the sync request if there are no value in the textbox?

  • How to revert a change if the user specify the same name of another task?

Regards


Post by mats »

  1. headerItems : {
            text      : { field : 'name', editor : { type : 'text', required : true } },
        },
    
  2. Please study docs for TextField: https://bryntum.com/docs/taskboard/#Core/widget/TextField#config-minLength

  3. Please see https://bryntum.com/docs/taskboard/#Core/widget/Field#config-inputAttributes and check pattern attribute of input element. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern

  4. Solved by setting it to be required (#1)

  5. You can use the private editorConfig for now, until we fix https://github.com/bryntum/support/issues/3130


Post by licjapodaca »

Excellent @mats, thanks for your guidance ...

Regards


Post Reply