I'd like my customizer controls to have a specific layout that the default technique for displaying them does not support. I've found that instead of using
$this->value() as shown here:
<textarea rows="5" style="width:100%;" <?php $this->link(); ?>><?php echo esc_textarea( $this->value() ); ?></textarea>
... I can instead manually assign the data-customize-setting-link attribute and the value like this:
<textarea rows="5" style="width:100%;" data-customize-setting-link="test_textarea"><?php echo esc_textarea( get_theme_mod( 'test_textarea' ) ); ?></textarea>
.. which allows me increased flexibility in creating a customizer control layout that's a bit more intuitive.
Is doing it this way OK or would it be considered bad practice? Thank you for any input you can offer!