承接 edrisa/onchange-load-dependant-field-data 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

edrisa/onchange-load-dependant-field-data

最新稳定版本:v1.0.4

Composer 安装命令:

composer require edrisa/onchange-load-dependant-field-data

包简介

Backpack Fields

README 文档

README

![Latest Version on Packagist][ico-version] ![Total Downloads][ico-downloads]

This package provides a dependantFieldOptions field type for the Backpack for Laravel administration panel. The dependantFieldOptions field allows admins to load options from provided source through provided method depending on-change in parent/specefic field.

Screenshots

Backpack Star Field Addon

Installation

Via Composer

composer require edrisa/onchange-load-dependant-field-data

Usage

Inside your CrudController:

CRUD::addField([
       'view_namespace' => 'edrisa-onchange-field-options::fields',
       'type' => "dependantFieldOptions",
       'dependency_name' => 'surah_id', // write (parent/specefic) field name, when the field's value will change then load this field options
       'label' => "Verse",
       'name' => 'verse_id',
       'source' => route('surah.verses'),
       'attribute' => 'verse_no', // option's key name for showing option label
      // 'source_method' => 'post', //  by default post
      // 'id' => 'field_id',
      // 'placeholder' => 'placeholder', // by default "-"
      // 'hint' => 'hint',
  ]);

Uninstall

composer remove edrisa/onchange-load-dependant-field-data

Security

If you discover any security related issues, please email the author instead of using the issue tracker.

License

MIT. Please see the license file for more information.

Developed by : AL EMRAN

Updated By: Edrisa Turay

[ico-version]: https://img.shields.io/packagist/v/ogroosoft/onchange-load-dependant-field-data.svg [ico-downloads]: https://img.shields.io/packagist/dt/ogroosoft/onchange-load-dependant-field-data.svg

统计信息

  • 总下载量: 1.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固