Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Multi fields #1

Description

@loveorigami

Thanks for usefull widget.
For me need add more then one fields to the widget.(as here - https://github.com/unclead/yii2-multiple-input/blob/master/docs/multiple_input_multiple.md)
For exapmple:

  • Model -> video
  • youtube_id | title

May be it will be make as

echo DynaFields::widget([
    'urlAdd' => ['your-action-add'],
    'urlRemove' => ['your-action-remove'],
    'inputMethod' => 'textInput',
    'inputMethodArgs' => [['maxlength' => true]],
    'form' => $form,
    'models' => $models,
    'attribute' => ['youtube_id', 'title'],
]);

What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions