小编Tho*_*obl的帖子

Cakephp自定义日期输入表单助手的输出

我有

echo $this->Form->input('birthdate', array( 'label' => __('Geburtsdatum', true)
                        , 'dateFormat' => 'DMY'
                        , 'minYear' => date('Y') - 70
                        , 'maxYear' => date('Y') - 10 ));
Run Code Online (Sandbox Code Playgroud)

在模型中,我将生日设定为日期.现在Cakephp吐出三个选择框,我绝对喜欢.但它也吐出两个丑陋的破折号/连字符,我想摆脱它.

SELECTBOX - SELECTBOX - SELECTBOX

有什么建议?

cakephp html-helper date input

3
推荐指数
1
解决办法
2290
查看次数

标签 统计

cakephp ×1

date ×1

html-helper ×1

input ×1