Jump to content

Recommended Posts

Posted

Disabling textformatters: FieldtypeSomething > init() >

parent::allowTextFormatters(false);

Making the pattern readonly: InputfieldSomething > ___getConfigInputfields() >

$f = $inputfields->get('pattern');
if($f) $f->attr('disabled', 'disabled');

To alter the pattern without reinstalling the Fieldtype, it isn't stored in the database? I can do it via API, but where is it stored? It's missing from the data column of the fields table for the field where all the other attributes are.

  • hellomoto changed the title to I don't see pattern stored in field data in database?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...