Support

Account

Forum Replies Created

  • Hello I wanted to state that I came across this issue and I believe I was able to make this work as expected for the true_false field, now I know this will be removed upon an update but maybe this can make it’s way into the production version??

    I added this to line 67 of the class-acf-field-true_false.php file.

    
    // disabled
    if( array_key_exists( 'disabled', $field ) && $field['disabled']) {
      $input['disabled'] = true;
      $hidden['value'] = $field['value'] ? true : false;
    }
Viewing 1 post (of 1 total)