Closed dandelion-Chen closed 2 years ago
v7.38.1
<template> <view class="content"> <input class="weui-input" type="text" confirm-type="search" placeholder="输入123自动收起键盘" @confirm="onConfirm"/> </view> </template> <script lang="ts"> import Vue from 'vue'; export default Vue.extend({ data() { return { title: 'Hello' } }, methods: { onConfirm (){ console.log('onConfirm----------------'); } } }); </script>
使用input组件,设置 confirm-type="search",键盘调起右下角按钮未设置为“搜索”文案,点击按钮没有触发confirm事件。
api 文档 :https://miniapp.xiaohongshu.com/docs/component/input 期望结果: 与文档描述的一致,实现按钮文案为“搜索”,点击触发 bindconfirm 事件
原生 Input 组件还未上线,暂不支持该功能,预计 7.40 后进行支持。
预计这个版本啥时候全量发布呢
原生 Input 组件还未上线,暂不支持该功能,预计 7.40 后进行支持。 预计这个版本啥时候全量发布呢
5.25 号 全量
系统环境(必填)
问题模块(必填)
基础库版本或小红书APP版本(必填)
v7.38.1
重现步骤 和 复现问题的最小demo Github链接
使用input组件,设置 confirm-type="search",键盘调起右下角按钮未设置为“搜索”文案,点击按钮没有触发confirm事件。
期望结果 和 实际结果(必填)
api 文档 :https://miniapp.xiaohongshu.com/docs/component/input 期望结果: 与文档描述的一致,实现按钮文案为“搜索”,点击触发 bindconfirm 事件
补充(猜测可能的原因是什么,你有啥想法,选填)